Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.Primitives Namespace / DateTimeUpDownBase<T> Class / CurrentDateTimePart Property


In This Topic
    CurrentDateTimePart Property
    In This Topic
    Gets/Sets the current Date/Time part that will be changed when using the Up/Down buttons (or Up/Down keys). This value must match a valid DateTime part on the DateTimeUpDownBase. This property will be modified when a new DateTimePart is selected via the mouse or keyboard. Default is DateTimePart.Other.
    Syntax
    'Declaration
     
    Public Property CurrentDateTimePart As DateTimePart
    'Usage
     
    Dim instance As DateTimeUpDownBase(Of T)
    Dim value As DateTimePart
     
    instance.CurrentDateTimePart = value
     
    value = instance.CurrentDateTimePart
    public DateTimePart CurrentDateTimePart {get; set;}
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also